package com.zmn.oms.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 类描述：重算价格触发定义
 *
 * @author heciqi
 * @date 2020/6/11 9:02
 */
@AllArgsConstructor
@Getter
public enum TriggerAmountChangeEnum implements CodeEnum {

	/**
	 * 新增默认服务项
	 */
	MODIFY_ORDER_AMOUNT(0, "改订单价格"),

	/**
	 * 师傅上门
	 */
	MASTER_VISIT(1, "师傅上门"),

	/**
	 * 改定金
	 */
	MODIFY_ORDER_DEPOSIT(2, "改定金"),

	/**
	 * 改预付款
	 */
	MODIFY_ORDER_CHANNEL_PREPAYAMOUNT(3, "改渠道预收"),

	/**
	 * 验券
	 */
	VALIDATE_COUPON(4, "验券"),

	/**
	 * 删除工单价格，修改产品，
	 * 渠道等信息时会删除原价
	 */

	DELETE_ORDER_AMOUNT(5, "删除工单价格"),

	/**
	 * 后台人工优惠
	 */
	ARTIFICIAL_OPERATE_DISCOUNT(10, "后台人工优惠"),

	/**
	 * 后台全免优惠
	 */
	ARTIFICIAL_OPERATE_FREE_DISCOUNT(11, "后台全免优惠"),

	/**
	 * 工程师人工优惠
	 */
	ARTIFICIAL_MASTER_DISCOUNT(12, "工程师人工优惠"),

	/**
	 * 删除人工优惠
	 */
	ARTIFICIAL_DISCOUNT_DELETE(13, "删除人工优惠"),

	/**
	 * 工程师人工优惠
	 */
	ARTIFICIAL_MASTER_DISCOUNT_PROM(14, "工程师人工优惠折扣"),

	/**
	 * 删除人工优惠
	 */
	ARTIFICIAL_MASTER_DISCOUNT_DELETE(15, "删除工程师人工优惠"),

	/**
	 * 添加次卡优惠券
	 */
	TIMES_DISCOUNT_ADD(16, "添加次卡优惠"),

	/**
	 * 删除次卡优惠券
	 */
	TIMES_DISCOUNT_DELETE(17, "删除次卡优惠"),

	/**
	 * 延保订单优惠
	 */
	EXTENDED_WARRANTY(20, "延保订单优惠"),

	/**
	 * 渠道二次支付
	 */
	CHANNEL_SECOND_PAY(30, "渠道二次支付"),

	/**
	 * 获取最新优惠（刷新优惠）
	 */
	REFRESH_DISCOUNT(40, "刷新优惠"),

	/**
	 * 认领订单
	 */
	CLAIM_ORDER(41, "认领订单");

	Integer code;
	/**
	 * 触发名称
	 */
	String name;
}
